'''
Company: TWL
Author: xue jian
Email: xuejian@kanzhun.com
Date: 2020-09-26 22:40:18
'''
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
if __name__ == "__main__":
    # data = pd.read_csv('./data/161907.csv', parse_dates=['净值日期'], dayfirst=True, index_col='净值日期')
    data = pd.read_csv('./data/161907.csv', parse_dates=['date'], dayfirst=True, index_col=0)
    data.set_index('date', inplace=True)
    data['benchmark']=0
    data.plot(y=['IOPV', 'ANV'], kind='line')
    plt.show()
    print(data)
